package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Order;
import com.itheima.reggie.entity.dto.OrderDto;
import com.itheima.reggie.entity.dto.OrderPageDto;
import com.itheima.reggie.web.R;

public interface OrderService extends IService<Order> {
    R submit(Order order);

    R<Page<OrderDto>> pageWithOrderDetails(OrderPageDto orderPageDto);
}
